package com.pureut.storage.service;

import com.sale.storage.api.dto.SysDateChangeDto;
import com.sale.storage.api.vo.UpdateDateChangeVo;

/**
 * 日期变更出库、入库数据查询service
 */
public interface PublicSelectSysDateChangeService {

    /**
     * 出库查询
     */
    SysDateChangeDto outSelect(String documentNumber);

    /**
     * 入库查询
     * @param documentNumber
     * @return
     */
    SysDateChangeDto inSelect(String documentNumber);

    /**
     * 库备查询
     */
    SysDateChangeDto kuneSelect(String documentNumber);

    /**
     * 出库修改
     * @param updateDateChangeVo
     * @return
     */
    boolean outUpdate(UpdateDateChangeVo updateDateChangeVo);

    /**
     * 入库修改
     * @param updateDateChangeVo
     * @return
     */
    boolean inUpdate(UpdateDateChangeVo updateDateChangeVo);

    /**
     * 库内修改
     * @param updateDateChangeVo
     * @return
     */
    boolean kuneUpdate(UpdateDateChangeVo updateDateChangeVo);
}
